* xdisp.c (handle_fontified_prop): Prefer ptrdiff_t to int where needed.
authorDmitry Antipov <dmantipov@yandex.ru>
Mon, 7 Oct 2013 15:11:17 +0000 (19:11 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Mon, 7 Oct 2013 15:11:17 +0000 (19:11 +0400)
Use bool for boolean.

src/ChangeLog
src/xdisp.c

index 36d9dbec4c41e4f2fcc5f7390d6c30226db49220..7b2b1881b431e22e1a0190e49616ce5c5676fd29 100644 (file)
@@ -1,6 +1,7 @@
 2013-10-07  Dmitry Antipov  <dmantipov@yandex.ru>
 
        * insdel.c (insert_from_gap): Prefer ptrdiff_t to int where needed.
+       * xdisp.c (handle_fontified_prop): Likewise.  Use bool for boolean.
 
 2013-10-07  Paul Eggert  <eggert@cs.ucla.edu>
 
index 50bf30700be853eb877ce71b66f31566d27f740c..b01979c3dfd5f1c8eaf02adaeb5ca88a5b5e8ea1 100644 (file)
@@ -3698,8 +3698,8 @@ handle_fontified_prop (struct it *it)
       ptrdiff_t count = SPECPDL_INDEX ();
       Lisp_Object val;
       struct buffer *obuf = current_buffer;
-      int begv = BEGV, zv = ZV;
-      int old_clip_changed = current_buffer->clip_changed;
+      ptrdiff_t begv = BEGV, zv = ZV;
+      bool old_clip_changed = current_buffer->clip_changed;
 
       val = Vfontification_functions;
       specbind (Qfontification_functions, Qnil);